package com.mall.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 地址传输对象
 * @author 勾新杰
 * @version 1.0
 * @date 2024/11/22 20:48
 */
@Schema(description = "地址传输对象")
@Data
public class AddressDTO implements Serializable {
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "收货人姓名")
    private String receiverName;
    @Schema(description = "收货人电话")
    private String receiverPhone;
    @Schema(description = "省份")
    private String province;
    @Schema(description = "城市")
    private String city;
    @Schema(description = "区县")
    private String district;
    @Schema(description = "详细地址")
    private String detailAddress;
    @Schema(description = "是否为默认地址")
    private Integer isDefault;
}
